package com.lsh.service.impl;

import com.lsh.mapper.Stu_CoMapper;
import com.lsh.pojo.Stu_Co;
import com.lsh.service.Stu_CoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class Stu_CoServiceImpl implements Stu_CoService {

    @Autowired
    private Stu_CoMapper stu_coMapper;

    @Override
    public List<Stu_Co> list() {
        return stu_coMapper.list();
    }

    @Override
    public Stu_Co getByStu_Co(Stu_Co sc) {
        return stu_coMapper.getByStu_Co(sc);
    }

    @Override
    public List<Stu_Co> getBysno(String sno) {
        return stu_coMapper.getBysno(sno);
    }
}
